home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / gnu / nihcl-30.lha / nihcl-3.0 / lib / nihclerrs.c < prev    next >
C/C++ Source or Header  |  1990-05-21  |  6KB  |  96 lines

  1. /*
  2.  * nihclerrs.c -- Error definition file generated by errgen.  DO NOT EDIT!
  3. */
  4. #include <errors.h>
  5. #include "nihclerrs.h"
  6. extern ErrFac errfac[MAX_FACILITIES];
  7. /*
  8. *    ***** NIHCL facility *****
  9. */
  10. ErrSpecs NIHCL__errlist[] = {
  11.  {-4, "IS", "[ACTIVE] Tried to activate active object: %#.8x->%s::%s()" },
  12.  {-4, "", "[ALLOCFAIL] Not enough memory -- NEW failed" },
  13.  {-4, "IS", "[ALLOCSIZE] Negative or zero object allocation size requested: %#.8x->%s()" },
  14.  {-4, "ISS", "[AMBIGCASTDN] Ambiguous downward cast: %#.8x->%s::_castdown(%s)" },
  15.  {-4, "ISS", "[ASTACT] Function called from AST/SIGNAL level: %#.8x->%s::%s()" },
  16.  {-4, "ISS", "[ASTBLK] AST tried to block on semaphore: %#.8x->%s::%s()" },
  17.  {-4, "ISS", "[ASTINACT] Function not called from AST/SIGNAL level: %#.8x->%s::%s()" },
  18.  {-4, "SSSS", "[BADARGCL] Invalid argument class: expected %s(%s), was %s(%s)" },
  19.  {-4, "SSSSSS", "[BADARGCLM] Invalid argument class: expected %s::%s(%s), was %s::%s(%s)" },
  20.  {-4, "SSSS", "[BADARGSP] Invalid argument species: expected %s(%s), was %s(%s)" },
  21.  {-4, "SSSSSS", "[BADARGSPM] Invalid argument species: expected %s::%s(%s), was %s::%s(%s)" },
  22.  {-4, "ISS", "[BADCASTDN] Invalid downward cast: %#.8x->%s::_safe_castdown(%s)" },
  23.  {-4, "SS", "[BADCLASS] Invalid object class: expected %s, was %s" },
  24.  {-4, "I", "[BADDAY] Invalid day of week: %d" },
  25.  {-4, "S", "[BADDAYNAM] Invalid day of week name: %s" },
  26.  {-4, "SI", "[BADERRNUM] Invalid error code: %s(%d)" },
  27.  {-4, "IISI", "[BADMODAY] Invalid day of month: %#.8x->Date::Date(%d,%s,%d)" },
  28.  {-4, "S", "[BADMONAM] Invalid month name: %s" },
  29.  {-4, "I", "[BADMONTH] Invalid month: %d" },
  30.  {-4, "II", "[BADPRI] Requested process priority (%d) exceeds maximum (%d)"     },
  31.  {-4, "ISSII", "[BADRANGE] Invalid or undefined Range: %#.8x->%s::%s([%d:%d])" },
  32.  {-4, "SIS", "[BADREGEX] %s: %#.8x->Regex::Regex(\"%s\")" },
  33.  {-4, "SS", "[BADSPEC] Invalid object species: expected %s, was %s" },
  34.  {-4, "IS", "[BADSTMBR] %#.8x->%s::storeMemberOn() not called from Object::storeOn()" },
  35.  {-4, "ISIIIIS", "[BADTIME] Invalid date/time: %d-%.3s-%d %02d:%02d:%02d %s" },
  36.  {-4, "ISI", "[BADTRACETBL] Invalid trace table at %#.8x: %#.8x->%s::create()" },
  37.  {-4, "ISS", "[CLTNEMPTY] Collection empty: %#.8x->%s::%s()" },
  38.  {-4, "IIS", "[CPSEMWAIT] Attempt to copy semaphore with %d waiting process(es): %#.8x->%s::deepCopy()" },
  39.  {-4, "ISI", "[DATERANGE] Date %d-%.3s-%d out of range for conversion to Time" },
  40.  {-4, "SSISSSI", "[DBLLNK] Attempt to add %s to two %ss: %#.8x->%s::%s((%s*)%#.8x)" },
  41.  {-4, "SII", "[DELLNK] Attempt to delete %s with non-NULL next (=%#.8x): %#.8x->~Link()" },
  42.  {-4, "IIS", "[DLSEMWAIT] Attempt to delete semaphore with %d waiting process(es): %#.8x->~%s()" },
  43.  {-4, "ISS", "[DRVDCLASSRSP] Unimplemented function %#.8x->%s::%s()" },
  44.  {-4, "ISSSI", "[DUPKEY] Tried to add duplicate key: %#.8x->%s::%s((%s*)%#.8x)" },
  45.  {-4, "IS", "[FCTNOV] Fraction overflow: %#.8x->Fraction::Fraction(%s)" },
  46.  {-4, "IS", "[FCTNUN] Fraction underflow: %#.8x->Fraction::Fraction(%s)" },
  47.  {-4, "S", "[ILLEGALFCN] Illegal function %s()" },
  48.  {-4, "ISS", "[ILLEGALMFCN] Illegal function %#.8x->%s::%s()" },
  49.  {-4, "IS", "[INDEXRANGE] Index out of range: %#.8x->%s::operator[]()" },
  50.  {-4, "SISI", "[INVALIDPS] Invalid process %s state: %#.8x->%s.state=%d" },
  51.  {-4, "ISSI", "[KEYNOTFOUND] Key not found: %#.8x->%s::atKey((%s*)%#.8x)" },
  52.  {-4, "SISSISI", "[MISSINGLNK] %s not on list: %#.8x->%s::addAfter((%s*)%#.8x,(%s*)%#.8x)" },
  53.  {-4, "", "[NOISA] isA() function not defined for some class" },
  54.  {-4, "SISS", "[NOTINIT] Tried to use uninitialized class %s: %#.8x->%s::%s()" },
  55.  {-4, "SS", "[NYET] Sorry, %s::%s is not implemented yet" },
  56.  {-4, "ISSSI", "[OBNOTFOUND] Object not found: %#.8x->%s::%s((%s*)%#.8x)" },
  57.  {-4, "S", "[RDABSTCLASS] Tried to read object of abstract class %s" },
  58.  {-4, "SII", "[RDBADSIG] Incorrect class %s signature encountered on read: expected %d, was %d" },
  59.  {-4, "II", "[RDBADTYP] Bad record type (%d) read from file descriptor %d" },
  60.  {-4, "", "[RDEOF] Premature EOF encountered on input stream" },
  61.  {-4, "S", "[RDFAIL] Input stream read failed ... %s ..." },
  62.  {-4, "SI", "[RDREFERR] Tried to read object reference into pre-allocated area: class %s @%d" },
  63.  {-4, "SS", "[RDSYNERR] Syntax error on input stream: expected %s, was %s ..." },
  64.  {-4, "S", "[RDUNKCLASS] Tried to read object of unknown class %s" },
  65.  {-4, "SS", "[RDWRONGCLASS] Tried to read object of wrong class: expected %s, was %s" },
  66.  {-4, "S", "[READBINERR] %s" },
  67.  {-4, "II", "[READBINUNDFL] Underflow -- %d bytes expected - %d bytes read" },
  68.  {-4, "ISSI", "[REMOVEERR] Tried to remove object not in collection: %#.8x->%s::remove((%s*)%#.8x)" },
  69.  {-4, "SI", "[RESRUN] Attempt to resume RUNNING process %s (%#.8x)" },
  70.  {-4, "SI", "[RESTERM] Attempt to resume TERMINATED process %s (%#.8x)" },
  71.  {-4, "IS", "[SCHEDCTOR] Attempt to construct Scheduler object: %#.8x->%s::Scheduler()" },
  72.  {-4, "ISIIII", "[SLICERANGE] Vector slice out of range: %#.8x->%s[%d](%d,%d,%d)" },
  73.  {-4, "S", "[STACKOV] Process %s stack overflow" },
  74.  {-4, "IIS", "[STMBRREF] Attempt to store member variable object with reference @%d: %#.8x->%s::storeOn()" },
  75.  {-4, "S", "[STOREBINERR] %s" },
  76.  {-4, "IS", "[STREFMBR] Attempt to store reference to member variable object: %#.8x->%s::storeOn()" },
  77.  {-4, "ISI", "[STROV] String buffer overflowed during read of string \"%.*s\" (%u characters)" },
  78.  {-4, "IIS", "[STSEMWAIT] Attempt to store semaphore with %d waiting process(es): %#.8x->%s::storeOn()" },
  79.  {-4, "ISII", "[SUBSTRERR] SubString position/length out of range: %#.8x->%s::operator()(%d,%d)" },
  80.  {-4, "SI", "[SUSTERM] Attempt to suspend TERMINATED process %s (%#.8x)" },
  81.  {-4, "S", "[UNKCLASS] Could not find class descriptor for class %s" },
  82.  {-4, "SSI", "[VECTOREMPTY] Illegal operation on zero-length %s: %s(%#.8x)" },
  83.  {-4, "ISIISI", "[VECTORLENGTH] Unequal lengths: %#.8x->%s[%d] and %#.8x->%s[%d]" },
  84.  {-4, "ISIIII", "[VECTORSELECT] Unequal lengths: %#.8x->%s[%d] and %d ones in %#.8x->BitVec[%d]" },
  85.  {-4, "III", "[ZERODEN] Attempt to construct Fraction with zero denominator: %#.8x->Fraction::Fraction(%d,%d)" }
  86. };
  87. /*
  88. * Error initialization routine for NIHCL facility.
  89. */
  90. void NIHCL__errinit() {
  91. errfac[31].last = NIHCL__LAST_ERROR;
  92. errfac[31].longname = "NIHCL";
  93. errfac[31].errlist = NIHCL__errlist;
  94. };
  95.  
  96.